/****************************************************************************
** Meta object code from reading C++ file 'fcitxqtinputmethodproxy.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "fcitxqtinputmethodproxy.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fcitxqtinputmethodproxy.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_FcitxQtInputMethodProxy_t {
    QByteArrayData data[41];
    char stringdata0[539];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FcitxQtInputMethodProxy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FcitxQtInputMethodProxy_t qt_meta_stringdata_FcitxQtInputMethodProxy = {
    {
QT_MOC_LITERAL(0, 0, 23), // "FcitxQtInputMethodProxy"
QT_MOC_LITERAL(1, 24, 10), // "ActivateIM"
QT_MOC_LITERAL(2, 35, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(3, 55, 0), // ""
QT_MOC_LITERAL(4, 56, 9), // "Configure"
QT_MOC_LITERAL(5, 66, 14), // "ConfigureAddon"
QT_MOC_LITERAL(6, 81, 5), // "addon"
QT_MOC_LITERAL(7, 87, 11), // "ConfigureIM"
QT_MOC_LITERAL(8, 99, 2), // "im"
QT_MOC_LITERAL(9, 102, 8), // "CreateIC"
QT_MOC_LITERAL(10, 111, 42), // "QDBusPendingReply<int,uint,ui..."
QT_MOC_LITERAL(11, 154, 15), // "QDBusReply<int>"
QT_MOC_LITERAL(12, 170, 5), // "uint&"
QT_MOC_LITERAL(13, 176, 7), // "keyval1"
QT_MOC_LITERAL(14, 184, 6), // "state1"
QT_MOC_LITERAL(15, 191, 7), // "keyval2"
QT_MOC_LITERAL(16, 199, 6), // "state2"
QT_MOC_LITERAL(17, 206, 10), // "CreateICv2"
QT_MOC_LITERAL(18, 217, 47), // "QDBusPendingReply<int,bool,ui..."
QT_MOC_LITERAL(19, 265, 7), // "appname"
QT_MOC_LITERAL(20, 273, 5), // "bool&"
QT_MOC_LITERAL(21, 279, 6), // "enable"
QT_MOC_LITERAL(22, 286, 10), // "CreateICv3"
QT_MOC_LITERAL(23, 297, 3), // "pid"
QT_MOC_LITERAL(24, 301, 4), // "Exit"
QT_MOC_LITERAL(25, 306, 12), // "GetCurrentIM"
QT_MOC_LITERAL(26, 319, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(27, 346, 15), // "GetCurrentState"
QT_MOC_LITERAL(28, 362, 22), // "QDBusPendingReply<int>"
QT_MOC_LITERAL(29, 385, 12), // "GetCurrentUI"
QT_MOC_LITERAL(30, 398, 10), // "GetIMAddon"
QT_MOC_LITERAL(31, 409, 12), // "InactivateIM"
QT_MOC_LITERAL(32, 422, 17), // "ReloadAddonConfig"
QT_MOC_LITERAL(33, 440, 12), // "ReloadConfig"
QT_MOC_LITERAL(34, 453, 11), // "ResetIMList"
QT_MOC_LITERAL(35, 465, 7), // "Restart"
QT_MOC_LITERAL(36, 473, 12), // "SetCurrentIM"
QT_MOC_LITERAL(37, 486, 8), // "ToggleIM"
QT_MOC_LITERAL(38, 495, 9), // "CurrentIM"
QT_MOC_LITERAL(39, 505, 6), // "IMList"
QT_MOC_LITERAL(40, 512, 26) // "FcitxQtInputMethodItemList"

    },
    "FcitxQtInputMethodProxy\0ActivateIM\0"
    "QDBusPendingReply<>\0\0Configure\0"
    "ConfigureAddon\0addon\0ConfigureIM\0im\0"
    "CreateIC\0QDBusPendingReply<int,uint,uint,uint,uint>\0"
    "QDBusReply<int>\0uint&\0keyval1\0state1\0"
    "keyval2\0state2\0CreateICv2\0"
    "QDBusPendingReply<int,bool,uint,uint,uint,uint>\0"
    "appname\0bool&\0enable\0CreateICv3\0pid\0"
    "Exit\0GetCurrentIM\0QDBusPendingReply<QString>\0"
    "GetCurrentState\0QDBusPendingReply<int>\0"
    "GetCurrentUI\0GetIMAddon\0InactivateIM\0"
    "ReloadAddonConfig\0ReloadConfig\0"
    "ResetIMList\0Restart\0SetCurrentIM\0"
    "ToggleIM\0CurrentIM\0IMList\0"
    "FcitxQtInputMethodItemList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FcitxQtInputMethodProxy[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       2,  196, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,  124,    3, 0x0a /* Public */,
       4,    0,  125,    3, 0x0a /* Public */,
       5,    1,  126,    3, 0x0a /* Public */,
       7,    1,  129,    3, 0x0a /* Public */,
       9,    0,  132,    3, 0x0a /* Public */,
       9,    4,  133,    3, 0x0a /* Public */,
      17,    1,  142,    3, 0x0a /* Public */,
      17,    6,  145,    3, 0x0a /* Public */,
      22,    2,  158,    3, 0x0a /* Public */,
      22,    7,  163,    3, 0x0a /* Public */,
      24,    0,  178,    3, 0x0a /* Public */,
      25,    0,  179,    3, 0x0a /* Public */,
      27,    0,  180,    3, 0x0a /* Public */,
      29,    0,  181,    3, 0x0a /* Public */,
      30,    1,  182,    3, 0x0a /* Public */,
      31,    0,  185,    3, 0x0a /* Public */,
      32,    1,  186,    3, 0x0a /* Public */,
      33,    0,  189,    3, 0x0a /* Public */,
      34,    0,  190,    3, 0x0a /* Public */,
      35,    0,  191,    3, 0x0a /* Public */,
      36,    1,  192,    3, 0x0a /* Public */,
      37,    0,  195,    3, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 2,
    0x80000000 | 2,
    0x80000000 | 2, QMetaType::QString,    6,
    0x80000000 | 2, QMetaType::QString,    8,
    0x80000000 | 10,
    0x80000000 | 11, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12,   13,   14,   15,   16,
    0x80000000 | 18, QMetaType::QString,   19,
    0x80000000 | 11, QMetaType::QString, 0x80000000 | 20, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12,   19,   21,   13,   14,   15,   16,
    0x80000000 | 18, QMetaType::QString, QMetaType::Int,   19,   23,
    0x80000000 | 11, QMetaType::QString, QMetaType::Int, 0x80000000 | 20, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 12,   19,   23,   21,   13,   14,   15,   16,
    0x80000000 | 2,
    0x80000000 | 26,
    0x80000000 | 28,
    0x80000000 | 26,
    0x80000000 | 26, QMetaType::QString,    8,
    0x80000000 | 2,
    0x80000000 | 2, QMetaType::QString,    6,
    0x80000000 | 2,
    0x80000000 | 2,
    0x80000000 | 2,
    0x80000000 | 2, QMetaType::QString,    8,
    0x80000000 | 2,

 // properties: name, type, flags
      38, QMetaType::QString, 0x00095103,
      39, 0x80000000 | 40, 0x0009510b,

       0        // eod
};

void FcitxQtInputMethodProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FcitxQtInputMethodProxy *_t = static_cast<FcitxQtInputMethodProxy *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QDBusPendingReply<> _r = _t->ActivateIM();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 1: { QDBusPendingReply<> _r = _t->Configure();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 2: { QDBusPendingReply<> _r = _t->ConfigureAddon((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 3: { QDBusPendingReply<> _r = _t->ConfigureIM((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 4: { QDBusPendingReply<int,uint,uint,uint,uint> _r = _t->CreateIC();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int,uint,uint,uint,uint>*>(_a[0]) = _r; }  break;
        case 5: { QDBusReply<int> _r = _t->CreateIC((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusReply<int>*>(_a[0]) = _r; }  break;
        case 6: { QDBusPendingReply<int,bool,uint,uint,uint,uint> _r = _t->CreateICv2((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int,bool,uint,uint,uint,uint>*>(_a[0]) = _r; }  break;
        case 7: { QDBusReply<int> _r = _t->CreateICv2((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])),(*reinterpret_cast< uint(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< QDBusReply<int>*>(_a[0]) = _r; }  break;
        case 8: { QDBusPendingReply<int,bool,uint,uint,uint,uint> _r = _t->CreateICv3((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int,bool,uint,uint,uint,uint>*>(_a[0]) = _r; }  break;
        case 9: { QDBusReply<int> _r = _t->CreateICv3((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])),(*reinterpret_cast< uint(*)>(_a[6])),(*reinterpret_cast< uint(*)>(_a[7])));
            if (_a[0]) *reinterpret_cast< QDBusReply<int>*>(_a[0]) = _r; }  break;
        case 10: { QDBusPendingReply<> _r = _t->Exit();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 11: { QDBusPendingReply<QString> _r = _t->GetCurrentIM();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = _r; }  break;
        case 12: { QDBusPendingReply<int> _r = _t->GetCurrentState();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = _r; }  break;
        case 13: { QDBusPendingReply<QString> _r = _t->GetCurrentUI();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = _r; }  break;
        case 14: { QDBusPendingReply<QString> _r = _t->GetIMAddon((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = _r; }  break;
        case 15: { QDBusPendingReply<> _r = _t->InactivateIM();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 16: { QDBusPendingReply<> _r = _t->ReloadAddonConfig((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 17: { QDBusPendingReply<> _r = _t->ReloadConfig();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 18: { QDBusPendingReply<> _r = _t->ResetIMList();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 19: { QDBusPendingReply<> _r = _t->Restart();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 20: { QDBusPendingReply<> _r = _t->SetCurrentIM((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 21: { QDBusPendingReply<> _r = _t->ToggleIM();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxQtInputMethodItemList >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        FcitxQtInputMethodProxy *_t = static_cast<FcitxQtInputMethodProxy *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->currentIM(); break;
        case 1: *reinterpret_cast< FcitxQtInputMethodItemList*>(_v) = _t->iMList(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        FcitxQtInputMethodProxy *_t = static_cast<FcitxQtInputMethodProxy *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCurrentIM(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setIMList(*reinterpret_cast< FcitxQtInputMethodItemList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject FcitxQtInputMethodProxy::staticMetaObject = {
    { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_FcitxQtInputMethodProxy.data,
      qt_meta_data_FcitxQtInputMethodProxy,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *FcitxQtInputMethodProxy::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *FcitxQtInputMethodProxy::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FcitxQtInputMethodProxy.stringdata0))
        return static_cast<void*>(const_cast< FcitxQtInputMethodProxy*>(this));
    return QDBusAbstractInterface::qt_metacast(_clname);
}

int FcitxQtInputMethodProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
